﻿<!DOCTYPE html>
<html>
<head>
   <title>Enabling Scrub Effect in VI-CarRealTime</title>
   <meta name="generator" content="Help & Manual">
   <meta name="keywords" content="">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link type="text/css" href="default.css" rel="stylesheet">
   <link type="text/css" href="custom.css" rel="stylesheet">
   <script type="text/javascript" src="nsh.js"></script>
   
<!-- non-scrolling headers for CHM and browser-based help, local styles-->
<style TYPE="text/css" media="screen"> 
   <!-- 
   body {    
      margin:0; 
      padding:0; 
      overflow: auto; 
      background: #edede9; 
   } 
   #idheader { 
      width:100%; 
      height:auto; 
      padding: 0; 
      margin: 0;     
} 
    #idheaderbg  {
    background: #E40A00; 
}
#idheadernowrap  {
    white-space:nowrap; 
}
    ul {list-style-type: lower-roman}
   -->
   </style>
   
<style TYPE="text/css" MEDIA="print">
<!--
/* Hide navigation links and add space between header
     and text in the printed version. Not valid for eBooks. */
#idnav { display:none;	 }
.topichead { padding: 5px 5px 20px 5px; }
-->
</style>   
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="helpman_settings.js"></script>
   <script type="text/javascript" src="helpman_topicinit.js"></script>

   <script type="text/javascript">
     HMSyncTOC("index.html", "drvsim_motioncueing_enabling_scrub_effect_in_vi-ca.htm");
   </script>
   <script type="text/javascript" src="highlight.js"></script>
   <script type="text/javascript">
     $(document).ready(function(){highlight();});
   </script>
</head>
<body>

<!--ZOOMSTOP-->

<div id="idheader" >
<div id="idheaderbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
       style="margin: 0px; color: #D7D7D7;">

  <tr valign="middle">
    <td align="left" valign="middle" class="topichead">
    <!--<div id="idheadernowrap">-->
    <p class="crumbs" id="idnav"><b>Navigation:</b>&nbsp;
   
   VI-TireScrub &gt; <a href="drvsim_motioncueing_tire_scrub_effect_cueing.htm">Tire Scrub Effect</a>&nbsp;&gt;</p>
      <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">Enabling Scrub Effect in VI-CarRealTime</span></h1>

    <!--</div>-->
    </td>
    <td align="right" width="180" valign="middle" class="topichead" id="idnav">
    <div id="idheadernowrap">
    <a href="javascript: print();"
    		onmouseover="document.images.prntr.src='print_a.png'" 
        onmouseout="document.images.prntr.src='print_n.png'"
        ><img name="prntr" border="0" alt="Print this Topic" title="Print this Topic" src="print_n.png"
        ></a>&nbsp;&nbsp;
     <a href="drvsim_motioncueing_physical_dependencies_and_tuni.htm"
        onmouseover="document.images.prev.src='back_a.png'" 
        onmouseout="document.images.prev.src='back_n.png'"
        ><img name=prev src="back_n.png" border=0 alt="Previous page"
        ></a><a href="drvsim_motioncueing_tire_scrub_effect_cueing.htm"
        onmouseover="document.images.main.src='top_a.png'" 
        onmouseout="document.images.main.src='top_n.png'"><img name=main src="top_n.png" border=0 alt="Return to chapter overview"
        ></a><a href="vi-road_computations_general_interface.htm"
        onmouseover="document.images.next.src='next_a.png'" 
        onmouseout="document.images.next.src='next_n.png'"><img name=next src="next_n.png" border=0 alt="Next page"
        ></a>
    </div>
    </td>
  </tr>
</table>
</div>

<!-- The following code displays Expand All/Collapse All links  below the header in topics containing toggles -->
  

</div>  



<div id="idcontent"><div id="innerdiv"> 
<!--ZOOMRESTART-->
<p class="p_Normal"><span style="font-weight: bold;">Auxiliary Subsystem</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">The Tire Scrub Effect is implemented in VI-CarRealTime with an auxiliary subsystem linked to the relative library. Whether the feature is used for offline simulation on Windows, or it is used on CCUR machine, the auxiliary subsystem must be added to the car model, so that the corresponding property block is translated into the send file. </p>
<p class="p_Normal">From the Subsystem Definition tab, the Auxiliary flag must be switched on and the VI_CRT_TireScrub.xml subsystem must be called.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><img alt="drvsim_scrub_16" width="1247" height="654" style="margin:0;width:1247px;height:654px;border:none" src="drvsim_scrub_16.png"/></p>
<p class="p_Normal"><img alt="drvsim_scrub_17" width="1248" height="653" style="margin:0;width:1248px;height:653px;border:none" src="drvsim_scrub_17.png"/></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">The tuning parameters can then be adjusted from VI-CarRealTime GUI and they will be treated as all other model properties. For both offline and online usage, the plugin files must be present in the solver directories:</p>
<p class="p_Normal">&nbsp;</p>
<div style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 23px;"><table style="border:none; border-spacing:0px; border-collapse:collapse;">
<thead>
<tr style="text-align:left;vertical-align:top;">
<th style="vertical-align:middle; width:194px; height:33px; background-color:#99ccff; padding:0px; border:solid thin #000000;"><p style="text-align: center; margin: 0px 0px 0px 23px;"><span style="font-size: 8pt; font-weight: bold;">Ambient</span></p>
</th>
<th style="vertical-align:middle; width:235px; height:33px; background-color:#99ccff; padding:0px; border:solid thin #000000;"><p style="text-align: center; margin: 0px 0px 0px 23px;"><span style="font-size: 8pt; font-weight: bold;">Plugin</span></p>
</th>
<th style="vertical-align:middle; width:736px; height:33px; background-color:#99ccff; padding:0px; border:solid thin #000000;"><p style="text-align: center; margin: 0px 0px 0px 23px;"><span style="font-size: 8pt; font-weight: bold;">Directory</span></p>
</th>
</tr>
</thead>
<tbody>
<tr style="text-align:left;vertical-align:top;">
<td style="vertical-align:middle; width:194px; height:33px; background-color:#ffffff; padding:0px; border:solid thin #000000;"><p style="text-align: left; margin: 0px 0px 0px 23px;"><span style="font-weight: bold;">Windows</span></p>
</td>
<td style="vertical-align:middle; width:235px; height:33px; background-color:#ffffff; padding:0px; border:solid thin #000000;"><p style="text-align: center; margin: 0px 0px 0px 23px;">crt_tsdll.dll</p>
</td>
<td style="vertical-align:middle; width:736px; height:33px; background-color:#ffffff; padding:0px; border:solid thin #000000;"><p style="text-align: center; margin: 0px 0px 0px 23px;">C:\Program Files\VI-grade\VI-CarRealTime 19\acarrt\win64</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td style="vertical-align:middle; width:194px; height:35px; background-color:#ffffff; padding:0px; border:solid thin #000000;"><p style="text-align: left; margin: 0px 0px 0px 23px;"><span style="font-weight: bold;">Linux</span></p>
</td>
<td style="vertical-align:middle; width:235px; height:35px; background-color:#ffffff; padding:0px; border:solid thin #000000;"><p style="text-align: center; margin: 0px 0px 0px 23px;">libcrt_tsdll.so</p>
</td>
<td style="vertical-align:middle; width:736px; height:35px; background-color:#ffffff; padding:0px; border:solid thin #000000;"><p style="text-align: center; margin: 0px 0px 0px 23px;">/home/vigrade/vicrt/standalone</p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span style="font-weight: bold;">Tire Limits Activation</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">The next step to enable Tire Scrub Effect is to activate VI-TireLimits calculation for VI-CarRealTime solver. When generating a send file for a VI-DriveSim Xternal event, the relative flag must be activated from the VI-CarRealTime GUI and boundary values must be set accordingly to the tire file in use. </p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><img alt="drvsim_scrub_18" width="1105" height="988" style="margin:0;width:1105px;height:988px;border:none" src="drvsim_scrub_18.png"/></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">The parameters in the GUI must not exceed the maximum values defined in the tire property file, otherwise the TireLimits tool will fail in calculating the maps.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><img alt="drvsim_scrub_19" width="925" height="354" style="margin:0;width:925px;height:354px;border:none" src="drvsim_scrub_19.png"/></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">Offline and online, at the beginning of the simulation the tool will compute a map of limit states for the specified ranges of values, saving the envelopes in the RAM memory of the PC, ready to be used by VI-CarRealTime solver. Reducing the step specified for each parameter, means higher resolution of the maps generated to compute TireLimits, increasing the initialization time while starting the simulation.</p>
<p class="p_Normal">When running the simulation on CCUR machine with TireLimits enabled, an increase of 100÷150 µs in computation time should be expected for the “vicrt” executable. It is therefore necessary for this executable to be run on a strictly dedicated CPU. </p>
<p class="p_Normal">When trying the feature for the first time with a new car model or a new tire model, it is suggested to run the simulation with the motion platform not engaged, checking for eventual overruns. Furthermore, it is suggested to run the platform in DataCheck mode, double checking that the outputs of the motion cueing are as intended. </p>
<p class="p_Normal">In general, it can be convenient to use the Tire Scrub Effect offline plugin, and the offline version of VI-MotionCueing, to fine tune the parameters before using them on the driving simulator.</p>
<p class="p_Normal">&nbsp;</p>

<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript"> 
<!-- 
var lastSlashPos = document.URL.lastIndexOf("/") >
document.URL.lastIndexOf("\\") ? document.URL.lastIndexOf("/") :
document.URL.lastIndexOf("\\");
if( document.URL.substring( lastSlashPos + 1, lastSlashPos + 4
).toLowerCase() != "~hh" )
{
    nsrInit();
}
--> 
</script> 
</body>
</html>
